﻿using System;
using CID.Domain.Users;
using CID.Web.Controllers;
using NUnit.Framework;

namespace CID.Web.Tests.Authorization
{
    [TestFixture]
    class ControllerAuthorizationForArchitectTests : BaseControllerAuthorizationTests
    {
        protected override UserRole Role { get { return UserRole.Architect; } }

        protected override Type[] AuthorizedControllers
        {
            get {
                return new Type[] { 
                    typeof(HomeController), 
                    typeof(ComponentController), 
                    typeof(DeploymentAgentController),
                    typeof(DeploymentLogController),
                    typeof(EnvironmentStateController),
                    typeof(PackageTypeController),
                    typeof(ServerRoleController),
                    typeof(TemplateController),
                    typeof(TemplateTypeController)
                };
            }
        }


    }
}
